﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="QuestionAnswerUI.aspx.cs" Inherits="ThangNM.Admin.QuestionAnswerUI" MasterPageFile="~/PublicInterface/Admin.Master" %>
<%@ Register src="~/UserControl/QuestionAnswer_ListUC.ascx" tagname="QuestionAnswer_ListUC" tagprefix="uc1" %>
<%@ Register src="~/UserControl/QuestionAnswer_DetailUC.ascx" tagname="QuestionAnswer_DetailUC" tagprefix="uc2" %>
<%@ Register src="~/UserControl/MsgUC.ascx" tagname="MsgUC" tagprefix="uc3" %>
<%@ Register src="~/UserControl/Title_FormUC.ascx" tagname="Title_FormUC" tagprefix="uc4" %>

<asp:Content ID="cBody" runat="server" ContentPlaceHolderID="cphBody">
    <uc4:Title_FormUC ID="Title_FormUC1" runat="server" />
    <uc3:MsgUC ID="MsgUC1" runat="server" />
    <asp:MultiView ID="mtvMain" runat="server" ActiveViewIndex="0">
        <asp:View ID="vList" runat="server">
            <uc1:QuestionAnswer_ListUC ID="QuestionAnswer_ListUC1" runat="server" OnViewDetail="ViewDetail_Click" OnInsert="Insert_Click" OnViewMessage="ViewMessageList_Click" />
        </asp:View>
        <asp:View ID="vDetail" runat="server"><br />
            <div class="bs-example">
                <ul class="nav nav-tabs">
                    <li><a data-toggle="tab" href="#tabInfomation">Thông tin chung</a></li>
                    <li class="active"><a data-toggle="tab" href="#tabComment">Bình luận</a></li>
                </ul>
                <div class="tab-content">
                    <div id="tabInfomation" class="tab-pane fade">
                        <br /><br />
                        <uc2:QuestionAnswer_DetailUC ID="QuestionAnswer_DetailUC1" runat="server" OnViewMessage="ViewMessageDetail_Click" OnBackList="BackList_Click"/>
                    </div>
                    <div id="tabComment" class="tab-pane fade in active">
                        <br /><br />
                        <asp:MultiView ID="mtvMain_D" runat="server" ActiveViewIndex="0">
                            <asp:View ID="vList_D" runat="server">
                                <uc1:QuestionAnswer_ListUC ID="QuestionAnswer_ListUC2" runat="server" OnViewDetail="ViewDetail_D_Click" OnViewMessage="ViewMessageList_Click" />
                            </asp:View>
                            <asp:View ID="vDetail_D" runat="server">
                                <asp:LinkButton ID="lbtnBack_D" runat="server" onclick="lbtnBack_D_Click" class="btn btn-info btn-sm">
                                    <i class="fa fa-mail-reply-all"></i> Quay lại danh sách
                                </asp:LinkButton><br /><br />
                                <uc2:QuestionAnswer_DetailUC ID="QuestionAnswer_DetailUC2" runat="server" OnViewMessage="ViewMessageDetail_Click"/>
                            </asp:View>
                        </asp:MultiView>
                    </div>
                </div>
            </div>
        </asp:View>
    </asp:MultiView>
</asp:Content>